Don't prematurely mark window as realized
authorMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jul 2013 21:15:31 +0000 (17:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jul 2013 21:15:31 +0000 (17:15 -0400)
commitffadfbf322cf392dc55b69bc8a4c70bd5839aa1b
tree6843c62a46fb577c1423ed3affe78129a279b56e
parent6bcf8a258415d30806eb560c5476368823fa1d9c
Don't prematurely mark window as realized

Other code assumes that the widget has a window if it is realized.
Since we might trigger such code indirectly from gtk_window_realize,
don't mark the window as realized before we've registered its window.
gtk/gtkwindow.c